<!DOCTYPE HTML>
<html>
<head>
	<title></title>
	<meta name="csrf-token" content="{{ csrf_token() }}">
	<script src="{{ asset('js/jquery-1.11.1.min.js') }}?v=<?=config('version')?>"></script>
	<link href="{{ asset('libs/LayX/layx.min.css') }}?v=<?=config('version')?>" rel="stylesheet">
	<script src="{{ asset('libs/LayX/layx.min.js') }}?v=<?=config('version')?>"></script>
</head>
<body>
@if(isset($script))
{!! $script !!}
@endif
<div class="container myContainer" style="width: 370px">
	<div class="text-center" >
		<?=$data->content?>
		<form method="post"> 
			
			{{ csrf_field() }}
			<div>
			<label><input type="radio" name="examine" value="1" @if($data->examine==1)checked=""@endif> 通过 </label>
			<label><input type="radio" name="examine" value="2" @if($data->examine==2)checked=""@endif> 不通过 </label>
			</div>
			<div>
			<label><textarea name="examine_message" placeholder="不通过请填写原因">{{$data->examine_message}}</textarea></label>
			<input type="hidden" name="id" value="{{$data->id}}">
			<br/>
			<button class="btn btn-primary" type="submit">提交</button>
			</div>
		</form>
	</div>
</div>
<style type="text/css">
img{ width: 100%; height:auto; }
.myContainer{
	display:flex;
    align-items:center; 
    justify-content:center;
}
</style>

</body>
</html>